package Operation;

/**
 * Creat with IntelliJ IDEA
 * Description
 * User: mamba24
 * Date: 2022-04-13
 * Time: 15:46
 * To BE A Better Person-2020-3-2
 */

import Book.BookList;

import java.util.Arrays;

/**
 * 显示图书
 */
public class ShowOp implements IOoperation{
    @Override
    public void work(BookList bookList) {
        for (int i = 0; i < bookList.Used; i++) {
            System.out.println(bookList.books[i].toString());
        }
        System.out.println("==========显示成功========");
    }
}
